using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace FormsAnywhere.UIProcessDesigner.UIEditors
{
    public partial class FormPromptUITypeEditorForm : Form
    {
        private string strValue;

        public FormPromptUITypeEditorForm()
        {
            InitializeComponent();
        }

        public string Value
        {
            get { return strValue; }
            set { strValue = value; }
        }

        private void FormPromptUITypeEditorForm_Load(object sender, EventArgs e)
        {
            txtPrompt.Text = strValue;
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            strValue = txtPrompt.Text;

            this.Close();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}